package com.nuorui.module.supper.loginlog.domain;

import com.nuorui.module.supper.loginlog.LoginLogResultEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 登录日志
 *
 * @Author 1024创新实验室-主任: 卓大
 * @Date 2022/07/22 19:46:23
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright  <a href="https://1024lab.net">1024创新实验室</a>
 */
@Data
public class LoginLogVO {

    private Long loginLogId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value =  "用户类型")
    private Integer userType;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "登录ip")
    private String loginIp;

    @ApiModelProperty(value = "登录ip地区")
    private String loginIpRegion;

    @ApiModelProperty(value = "user-agent")
    private String userAgent;

    @ApiModelProperty(value = "remark")
    private String remark;

    @ApiModelProperty(value =  "登录类型")
    private Integer loginResult;

    private String loginDevice;

    private LocalDateTime createTime;

}
